home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
awe2-0_1.lha
/
awe2-0.1
/
Src
/
RCS
/
Generic.h,v
< prev
next >
Wrap
Text File
|
1989-05-04
|
2KB
|
116 lines
head 3.2;
branch ;
access ;
symbols ;
locks grunwald:3.2; strict;
comment @ * @;
3.2
date 89.02.20.15.34.37; author grunwald; state Exp;
branches ;
next 3.1;
3.1
date 88.12.20.13.49.47; author grunwald; state Exp;
branches ;
next 1.2;
1.2
date 88.10.30.13.05.43; author grunwald; state Exp;
branches ;
next 1.1;
1.1
date 88.09.18.16.42.05; author grunwald; state Exp;
branches ;
next ;
desc
@@
3.2
log
@Start using Gnu library heaps for schedulers
@
text
@// This may look like C code, but it is really -*- C++ -*-
//
// Copyright (C) 1988 University of Illinois, Urbana, Illinois
//
// written by Dirk Grunwald (grunwald@@cs.uiuc.edu)
//
#if defined(__GNU__)
/*
* See the CPP manual, argument prescan section for explination
* of this crap.
*/
#define GENERIC2(a,b) gEnErIc2(a,b)
#define gEnErIc2(a,b) a ## b
#define GENERIC3(a,b,c) gEnErIc3(a,b,c)
#define gEnErIc3(a,b,c) a ## b ## c
#define GENERIC4(a,b,c,d) gEnErIc4(a,b,c,d)
#define gEnErIc4(a,b,c,d) a ## b ## c ## d
#define GENERIC_STRING(a) gEnErIcStRiNg(a)
#define gEnErIcStRiNg(a) #a
#else
#if defined(sun)
#define GENERIC2(a,b) a/**/b
#define GENERIC3(a,b,c) a/**/b/**/c
#define GENERIC4(a,b,c,d) a/**/b/**/c/**/d
#define GENERIC_STRING(a) "\
a \
"
#else
#if defined(BSD)
#define GENERIC2(a,b) a\
b
#define GENERIC3(a,b,c) a\
b\
c
#define GENERIC4(a,b,c,d) a\
b\
c\
d
#define GENERIC_STRING(a) "\
a \
"
#else
I do not know how to make GENERICs for your machine
#endif BSD
#endif SUN
#endif GNU
@
3.1
log
@Steay version
@
text
@@
1.2
log
@*** empty log message ***
@
text
@@
1.1
log
@Initial revision
@
text
@d1 6
@